package com.vehicle.pojo;

import com.alibaba.fastjson.annotation.JSONField;
import com.vehicle.bean.PageVo;
import lombok.Data;

import java.util.Date;

@Data
public class ViolationRecord extends PageVo {
    private Integer violationid;//违章记录id
    private Car cars;//车辆id  外键需要改关联
    private Violation violations;//违章id 外键需要关联
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date violationtime;//违章时间
    private Double violationprice;//罚款金额
    private Driver drivers;//驾驶员ID 外键 需要改关联
    private String violationsite;//违章地点
    private String remark;//备注


}
